package com.ynny.dao;

import com.ynny.entity.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Controller;

@Controller
public class StudentDao {
    @Autowired
    Student student;
    public String to(){
        return "用户注册成功！" +
                "number='" + student.getNumber() + '\'' +
                ", password='" + student.getPassword() + '\'' +
                ", identity='" + student.getIdentity() ;
    }

}
